﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpeedTest.ClassOrStruct
{
    class ClassCreator
    {
        List<BigClass> classes;

        public void Init()
        {
            classes = new List<BigClass>();
            for (int i = 0; i < 10; i++)
            {
                classes.Add(new BigClass());
            }
        }

        public void doSomething()
        {
            foreach (BigClass item in classes)
            {
                item.someMethod();
            }
        }
    }
}
